package service

import (
	"seat-service/model"
	"time"
)

type student interface {
	Create(student *model.Student) error
	GetByOpenid(openid string) (student model.Student)
	LoginByNameAndStudentNumber(student *model.Student) (err error)
	//ViolateStudent 处理违规学生
	ViolateStudent(studentId string, lockStartTime time.Time, lockEndTime time.Time) (studentInformation model.Student, err error)
}
